package com.muyu.common.core.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @ClassName Metadata
 * @Description 描述
 * @Author ShiYu.Cui
 * @Date 2024/3/26 15:32
 */
@Data
@ApiModel(description = "公共类")
public class BaseEntity {
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    public Date createTime;
    @ApiModelProperty(value = "修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    public Date updateTime;
    @ApiModelProperty(value = "是否删除")
    public Integer isDelete;
    @ApiModelProperty(value = "创建人ID")
    public Long createBy;

}
